package cn.tedu.autoshow.website.service;

import cn.tedu.autoshow.commons.pojo.vo.PageData;
import cn.tedu.autoshow.website.pojo.param.BannerAddNewParam;
import cn.tedu.autoshow.website.pojo.param.BannerUpdateInfoParam;
import cn.tedu.autoshow.website.pojo.vo.BannerListItemVO;
import cn.tedu.autoshow.website.pojo.vo.BannerStandardVO;
import cn.tedu.autoshow.website.pojo.vo.TicketListListItemVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IBannerService {

    void addNew(BannerAddNewParam bannerAddNewParam);

    void deleteById(Long id);

    void updateInfoById(Long id, BannerUpdateInfoParam bannerUpdateInfoParam);

    BannerStandardVO getStandardById(Long id);

    PageData<BannerListItemVO> list(Integer pageNum);

    PageData<BannerListItemVO> list(Integer pageNum, Integer pageSize);

    PageData<BannerListItemVO> listByTypeId(Integer typeId, Integer pageNum);

    PageData<BannerListItemVO> listByTypeId(Integer typeId, Integer pageNum, Integer pageSize);


}
